package com.boilermaker.lotterysystem.common.utils;

import cn.hutool.core.util.RandomUtil;

public class CaptchaUtil {

    /**
     * 生成验证码
     */
    public static String getCaptcha(int length) {
        return RandomUtil.randomNumbers(length);
    }
}
